#!/usr/bin/env python3
# -*- coding: utf-8 -*-

""" 检测结果 """

__author__ = "rency"


class DetectResult:

    # 是否检测成功
    isSuccess = False

    # 原始人脸
    orgiFace = None
    # 检测后人脸
    colorFace = None

    def __init__(self, isSuccess=None, orgiFace=None, detectFace=None):
        self.isSuccess = isSuccess
        self.orgiFace = orgiFace
        self.detectFace = detectFace

    def setSuccess(self, success):
        self.isSuccess = success

    def setOrgiFace(self, orgiFace):
        self.orgiFace = orgiFace

    def setColorFace(self, colorFace):
        self.colorFace = colorFace
